$().ready(function(){
	});
function getvalue(id){//根据ID获取组件的值
	return $("#"+id).attr("value");
}
function tochird()
{
    alert("天道酬勤！");
   $.post("tothird",{name:getvalue('name'),email:getvalue('email'),password:getvalue('password'),birthday:getvalue('birthday'),sex:getvalue('sex')},function(data){  
         window.location.href = "../Public/linkfriend/maincontent.html";
     } );
}
